<div>
<table style="margin: auto;">
    <tbody>
    
        <tr>
            <td><label><?php print lang('vt_tenvt'); ?></label>:</td>
            <td><?php print ( isset($product) )? $product->name : ''; ?><input readonly="readonly" type="hidden" name="name" value="<?php print ( isset($product) )? $product->name : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_mavt'); ?></label>:</td>
            <td><?php print ( isset($product) )? $product->code : ''; ?><input readonly="readonly" type="hidden" name="code" value="<?php print ( isset($product) )? $product->code : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_soluongton'); ?></label>:</td>
            <td><?php print ( isset($product) )? decimal_format($product->total) : ''; ?><input readonly="readonly" type="hidden" name="total" value="<?php print ( isset($product) )? decimal_format($product->total) : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_donvitinh'); ?></label>:</td>
            <td><?php print ( isset($product) )? $product->val_name : ''; ?><input readonly="readonly" type="hidden" name="value" value="<?php print ( isset($product) )? $product->val_name : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_dongia'); ?></label>:</td>
            <td><?php print ( isset($product) )? decimal_format($product->price) : 0; ?><input readonly="readonly" type="hidden" name="price" value="<?php print ( isset($product) )? decimal_format($product->price) : 0; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_soluongxuat'); ?></label>:</td>
            <td><input type="text" name="export_total" value="<?php print ( isset($import_total) )? $import_total:'';?>" class="input-number itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td colspan="2"><div id="error_export_total" class="error" style="display: none"><?php print lang('vt_error_044'); ?></div></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_note'); ?></label>:</td>
            <td><input type="text" name="note" value="<?php print ( isset($note) )? $note:'';?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
    </tbody>
</table>

<input type="hidden" name="product_id" value="<?php print ( isset($product) )? $product->id : 0; ?>">
<input type="hidden" name="category" value="<?php print ( isset($product) )? $product->catg_name : ''; ?>">
</div>